# Replication code for: RESEMBLANCE AND DISCRIMINATION IN ELECTIONS
rm(list=ls())
library(estimatr)
library(ggplot2)
library(ggpubr)
library(plyr)
library(dplyr)
library(stargazer)
library(plm)

setwd("~/Dropbox/Similarity/replication-JOP/")

source("code-observational.R")  # produces: Table1, Figure2, FigureC1 
source("code-yougov.R")         # produces: Figure 3, Figure 4, Figure B3 (B3a and B3b)
source("code-yougov-initial.R") # produces: FigureB4, FigureB5
source("code-competence.R")     # produces: FigureC2








